﻿<%@ Page Language="vb" AutoEventWireup="false" CodeBehind="What_If_Major.aspx.vb" Inherits="DARSClients.What_If_Major" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title>Beyond DARS - What If Major</title>
    <link id="myCSS" href="Styles/myStyle.css" rel="stylesheet" type="text/css" />
    <style type="text/css">
        body {margin:0; padding:50px 100px;   font-family: Helvitca, Arial, Sans-Serif;}
        table {width:500px; margin:0 auto; border:1px solid #bbb; border-radius: 10px;  padding:8px 8px 5px;  align:center;}
    </style>
</head>
<body>
    <form id="form1" runat="server">
    <h1>what if i change my major?</h1>
    <div class="container">
        <h2><asp:Label ID="lblUser" runat="server" /></h2>
        <h3><asp:Label ID="lblCurrentMajor" runat="server" /></h3>
        <br /><br />
        <asp:DropDownlist ID="ddlMajors" runat="server" AutoPostBack="true" 
            AppendDataBoundItems="True" >
            <asp:ListItem Selected="True">Select a Major</asp:ListItem>
        </asp:DropDownList>
&nbsp;<asp:DropDownlist ID="ddlPaths" runat="server" AutoPostBack="true" 
            Visible="False" AppendDataBoundItems="True" >
            <asp:ListItem Selected="True">Select a Path</asp:ListItem>
        </asp:DropDownList>
&nbsp;<br /><br />
        <asp:Button ID="btnSubmit" runat="server" Text="What If?" Visible="False" 
            CssClass="btn2" />
        <br />
        <br />
        <table class="progresscontainer">
    <asp:Repeater ID="rptPathReqs" runat="server">
        <ItemTemplate>
        <tr>
            <td>
                <table>
                <%# DataBinder.Eval(Container.DataItem, "MajorDegreeRequirement_RequirementID")%>
                <asp:Repeater ID="rptResults" runat="server">
                    <ItemTemplate>
                        <tr>
                            <td><a><%# DataBinder.Eval(Container.DataItem, "CourseID")%></a></td> <!-- CourseID -->
                            <td><b><%# DataBinder.Eval(Container.DataItem, "CourseTaken")%></b></td> <!-- CourseTaken? -->
                            <td><b><%# DataBinder.Eval(Container.DataItem, "Grade")%></b></td> <!-- Grade -->
                            <td><a><%# DataBinder.Eval(Container.DataItem, "SemesterTaken")%></a></td> <!-- SemesterTaken -->
                        </tr>
                    </ItemTemplate>
                </asp:Repeater>
                <tr>
                    <td>
                        <asp:Literal ID="litPercentComplete" runat="server" />
                    </td>
                </tr>
                </table>
            </td>
        </tr>
        </ItemTemplate>
    </asp:Repeater>
    <tr>
        <td>
            <br />
            <asp:Literal ID="litTotalPercentComplete" runat="server" />
        </td>
    </tr>
    </table>
    </div>
        </div>
    <div class="footer">
        <a><input  type="submit" class="text_button" id="btnLogout" runat="server" 
                value="Logout" causesvalidation="False" />
           <input type="submit" class="text_button" id="btnhome" runat="server" 
                value="Home" causesvalidation="False" /> </a>
        </div>
    </form>
</body>
</html>
